package pw.goyd.subscribe;

import pw.goyd.game.server.Log;
import redis.clients.jedis.Jedis;

/**
 * 订阅消息发布工具
 *
 * @author StanWind
 */
public class Publisher {
    public void publish(final Jedis jedis, final byte[] subChannel, final byte[] data) {
        Log.getLogger().debug("订阅推送---->房间 " + new String(subChannel));
        jedis.publish(subChannel, data);
    }

    public void publish(final Jedis jedis) {
        //TODO 空操作
    }


}  